% V20210224 - 7.6 GW_NEW_CLASS [2] INCLUDE "GW.bas" p = GW_NEW_PAGE() % Create new page. flashClassId = GW_NEW_CLASS("flash") % Create a new class of controls % named 'flash'. GW_USE_THEME_CUSTO_ONCE("class=flash") % Activate a one time customization. GW_ADD_BUTTON(p, "BUTTON", "button") % This control has the class 'flash'. GW_RENDER(p) % Show the page. % Now we can apply customizations to all controls of class 'flashClassId'. GW_MODIFY(flashClassId, "style:color", "red") DO r$ = GW_WAIT_ACTION$() % Wait for user action. % Place here any necessary code to process user actions. POPUP r$ % Example feedback. UNTIL r$ = "BACK" % End when BACK key is pressed. END